package com.itheima.mall.service;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.mall.pojo.ProductCategory;
import com.itheima.mall.vo.PageResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


public interface PmsProductCategoryService  {
    void createProductCategory(ProductCategory pmsProductCategoryParam);
    //删除商品分类
    void deleteProductCategoryById(Integer id);

    List<ProductCategory> listWithChildren();
    //分页查询商品分类
    PageResult selectPageByParentId(Integer parentId, Integer pageNum, Integer pageSize);
    //修改导航栏显示状态
    void updateNavStatusByIds(Integer ids, Integer navStatus);

    void updateShowStatus(Integer ids, Integer showStatus);
    //修改商品分类
    void updateProductCategoryById(Integer id , ProductCategory productCategoryParam);
    //根据id查询商品分类
    ProductCategory selectProductCategoryById(Integer id);
}
